package cn.echo.modules.sys.entity;

/**
 * Created by Administrator on 2017/5/8.
 */
public class site_rule {
    public static final String FLAG_NORMAL="0";
    public static final String FLAG_DEL="1";
    private String id;
    private String url;
    private String site_info_id;
    private String content;
    private String create_date;
    private String create_by;
    private String update_date;
    private String update_by;

    public site_rule() {
    }

    public site_rule(String id, String url, String site_info_id, String content, String create_date, String create_by, String update_date, String update_by) {
        this.id = id;
        this.url = url;
        this.site_info_id = site_info_id;
        this.content = content;
        this.create_date = create_date;
        this.create_by = create_by;
        this.update_date = update_date;
        this.update_by = update_by;
    }

    public static String getFlagNormal() {
        return FLAG_NORMAL;
    }

    public static String getFlagDel() {
        return FLAG_DEL;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSite_info_id() {
        return site_info_id;
    }

    public void setSite_info_id(String site_info_id) {
        this.site_info_id = site_info_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public String getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(String update_date) {
        this.update_date = update_date;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    @Override
    public String toString() {
        return "site_rule{" +
                "id='" + id + '\'' +
                ", url='" + url + '\'' +
                ", site_info_id='" + site_info_id + '\'' +
                ", content='" + content + '\'' +
                ", create_date='" + create_date + '\'' +
                ", create_by='" + create_by + '\'' +
                ", update_date='" + update_date + '\'' +
                ", update_by='" + update_by + '\'' +
                '}';
    }
}
